package com.copa.module.order.service;

import com.copa.domain.ResponseDto;
import com.copa.module.order.domain.entity.OrderGoodsEntity;

import java.util.List;
import java.util.Map;

/**
 * @author copa
 * @createDate 2021-01-25 15:00
 * @function
 */
public interface OrderGoodsService {

    ResponseDto<Boolean> addOrderGoods(List<OrderGoodsEntity> orderGoodsEntities);

    ResponseDto<OrderGoodsEntity> findOrderGoodsByMap(Map<String, Object> selectCondition);

    ResponseDto<Boolean> updateByOrderGoods(OrderGoodsEntity orderGoods);
}
